package com.jiaoxn.example.controller.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @author jiao xn
 * @date 2022/8/27
 */
@Data
public class SimpleCompanyParam {
    @ApiModelProperty(value = "公司名称", name = "公司名称", required = true)
    @NotEmpty(message = "公司名称不可为空")
    private String name;
}
